<?php
if(isset($_REQUEST['id'])){
    include("lib_db.php");
include("function.php");
    $id=$_REQUEST['id'];
    $sql="delete from book where idBook='$id'";
    $query=exec_update($sql);
    header("location:index.php");exit();
}

?>